package com.alibaba.otter.manager.biz.dal;

import com.mybatisflex.annotation.Column;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.Instant;

@Getter
@Setter
@ToString
public abstract class AbstractDO implements Serializable {


    @Column(onInsertValue = "now()")
    private Instant gmtCreate;

    @Column(onUpdateValue = "now()",onInsertValue = "now()")
    private Instant gmtModified;
}
